package com.kcht.rfid.rd30.secretary.core.response;

import java.util.ArrayList;
import java.util.List;

public class ReaderResponse {
    /**
     * 阅读器IP
     * */
    private String ip;

    /**
     * 响应操作了哪个标签，其实是标签唯一标识即不会变的东西，但是,这里默认为epc
     * */
    private  String id;

    private List<BasicResponse> basicResponses =new ArrayList<>();

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<BasicResponse> getBasicResponses() {
        return basicResponses;
    }

    public void addReaderResponse(BasicResponse basicResponse) {
        this.basicResponses.add(basicResponse);
    }

}
